import {
  ref
} from 'vue'

import {
  defineStore
} from 'pinia'


export const SupplierStore = defineStore('supplier', () => {

  const supplierName = ref('')
  const supplierId = ref('')

  const setName = (name) => {
    supplierName.value = name
  }
  const setId = (id) => {
    supplierId.value = id
  }




  return {
    supplierName,
    supplierId,
    setName,
    setId
  }
})
